package com.ysh.mapper;

import com.ysh.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    /*
        登录方法
     */
    @Select("select * from user where username=#{username} and password=#{password}")
    public abstract User login(@Param("username") String username, @Param("password")String password);
}
